<input id="input">
<script>
// Make sure that the placeholder is not in visible mode when the suggested value
// gets filled.
internals.setSuggestedValue(input, 'Springfield');
internals.setAutofilledValue(input, 'Springfield');
</script>
<style>
:placeholder-shown {
background-color: red;
}
</style>